home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / RadioMatrixAssociation / Person.h < prev    next >
Encoding:
Text File  |  1994-09-03  |  772 b   |  39 lines

  1. /* Person.h
  2.  *
  3.  * You may freely copy, distribute, and reuse the code in this example.
  4.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  5.  * fitness for any particular use.
  6.  *
  7.  *
  8.  *    A simple class describing a person object.
  9.  *
  10.  *
  11.  *------------------------------------------------------------------------*/
  12. #import <foundation/NSObject.h>
  13. #import <foundation/NSString.h>
  14.  
  15.  
  16.  
  17.  
  18. @interface Person : NSObject
  19. {
  20.     id    firstname;
  21.     id    lastname;
  22.     id    city;
  23. }
  24.  
  25. /*--------------------------------------------------------------------------
  26.  *    Accessors
  27.  *------------------------------------------------------------------------*/
  28. - firstname;
  29. - lastname;
  30. - city;
  31.  
  32. - (void) setFirstname:aString;
  33. - (void) setLastname:aString;
  34. - (void) setCity: aString;
  35.  
  36.  
  37.  
  38. @end
  39.